package com.ruoyi.shelves.domain;



import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 货架对象 hj
 *
 * @author tongshuai
 * @date 2021-12-02
 */
public class Hj extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增序列号ID */
    private String id;

    /** 货架名称 */
    @Excel(name = "货架名称")
    private String name;

    /** 货架地址 */
    @Excel(name = "货架地址")
    private Long addr;

    /** 层数 */
    @Excel(name = "层数")
    private Long cs;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setAddr(Long addr)
    {
        this.addr = addr;
    }

    public Long getAddr()
    {
        return addr;
    }
    public void setCs(Long cs)
    {
        this.cs = cs;
    }

    public Long getCs()
    {
        return cs;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("addr", getAddr())
            .append("cs", getCs())
            .toString();
    }
}
